import Vue from 'vue'
import App from './App.vue'
import router from './router'

//引入Element相关
import Element from 'element-ui'
import './assets/styles/element-variables.scss'
import './assets/styles/index.scss' // global css
/*Vue.use(Element, {
 size: Cookies.get('size') || 'medium' // set element-ui default size
 })*/
Vue.use(Element);

import "@mapgis/webclient-vue-ui/dist-libs/webclient-vue-ui.css";
import "@mapgis/webclient-vue-mapboxgl/dist-libs/webclient-vue-mapboxgl.css";

import MapgisUi from "@mapgis/webclient-vue-ui";
import Mapgis2d from "@mapgis/webclient-vue-mapboxgl";

Vue.use(MapgisUi);
Vue.use(Mapgis2d);


//引入自定义配置文件的全局配置
Vue.prototype.MYCONFIG = custom_config



Vue.config.productionTip = false

new Vue({
  router,
  render: h => h(App)
}).$mount('#app')
